﻿
<!DOCTYPE html>
<html lang="zh" style="background-color: #fff;" >
<head>
<meta charset="utf-8" />
<title>数据目录</title>   
<link rel="stylesheet" href="${mvcPath}/dacp-view/aijs/css/ai.css" type="text/css" />
<link href="${mvcPath}/dacp-res/catalog/common/css/ai.meta.css" type="text/css" rel="stylesheet"/>
<link href="${mvcPath}/dacp-lib/fuelux/fuelux.min.css" type="text/css" rel="stylesheet" media="screen"/>
<link rel="stylesheet" href="${mvcPath}/dacp-res/catalog/common/css/search.css" type="text/css" >
<link rel="stylesheet" href="${mvcPath}/dacp-res/catalog/common/css/ai.advancefilter.css" type="text/css">

<script type="text/javascript" src="${mvcPath}/dacp-lib/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="${mvcPath}/dacp-lib/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${mvcPath}/dacp-lib/underscore/underscore-min.js"></script>
<script src="${mvcPath}/dacp-lib/jquery-plugins/jquery-contextMenu.js"></script>
<script src="${mvcPath}/dacp-lib/fuelux/fuelux.min.js"></script>
<script src="${mvcPath}/dacp-lib/ztree/jquery.ztree.all-3.5.min.js"></script> 
<script src="${mvcPath}/dacp-lib/jquery-plugins/jquery.isotope.js"></script>
<script src="${mvcPath}/dacp-lib/cryptojs/aes.js" type="text/javascript"></script>
<script src="${mvcPath}/crypto/crypto-context.js" type="text/javascript"></script>
<script src="${mvcPath}/dacp-view/aijs/js/ai.core.js"></script>
<script src="${mvcPath}/dacp-view/aijs/js/ai.field.js"></script>
<script src="${mvcPath}/dacp-view/aijs/js/ai.jsonstore.js"></script>
<script src="${mvcPath}/dacp-view/aijs/js/ai.grid.ux.js"></script>
<script src="${mvcPath}/dacp-view/aijs/js/ai.treeview.js"></script>

<script src="${mvcPath}/dacp-res/catalog/common/js/parabola.js"></script>
<script src="${mvcPath}/dacp-res/catalog/common/js/ai.meta.widget.js"></script>
<script src="${mvcPath}/dacp-res/catalog/common/js/ai.widget.js"></script>
<script src="${mvcPath}/dacp-res/catalog/common/js/ai.advancefilter.js"></script>
<script src="${mvcPath}/dacp-res/catalog/dataindex/js/ai.dataindex.page.js"></script>
 <style>
.navbar-left>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 10px;
}
.navbar-left .input-group {
     margin-top: 0px; 
}
.navbar-left .keyword {
    width:320px;
    height: 30px;
}
.navbar-left .navbar-form{
   width: 380px;
}
  .bg-light.dk, .bg-light .dk {
background-color: #e0eaec;
}
.pull-out {
margin: -10px -15px;
}
.repeater {
     border: 0px solid #ddd; 
     border-radius: 0px; 
}
.repeater-viewport {
    background: #FBFBFB;
}
.repeater-list table thead{
   /*display:none;*/
}
.repeater-list .table td, .repeater-list .table th {
    padding: 8px 15px;
    border-top: 1px solid #eaeef1;
}
.repeater-list .media{
  margin-top:15px;
}
 
.repeater-thumbnail{
  border:0px;
}
.repeater-thumbnail .panel{
  margin-bottom:0px;
}
.repeater-header, .repeater-footer {
    background: #f9f9f9;
    min-height: 20px;
    padding: 2px;
}
.header-panel{
  background: url("${mvcPath}/dacp-res/images/ued-card-bckinto1.png") no-repeat #93B7DE;
}
.padder-v {
padding-top: 2px;
padding-bottom: 2px;
text-align: center;
}
.m-b-xs {margin-bottom: 2px;text-align: center;}
.block {display: block;}
.repeater-canvas{ overflow: auto;}
.repeater-list-wrapper {    overflow-x: hidden;   overflow-y: scroll;}
.repeater-header .input-append{  width:200px;}
 
.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

 .dacptiles{
  width: 270px;
  height: 180px;
  /*z-index: 100;*/
  overflow:hidden;
 /* text-align: center;*/
 
}
.dacptiles.panel{
 border:1px #EBEBEB solid;
}
.dacptiles.large{
  width: 470px;
  max-height: 500px;
  z-index: 100;
  overflow:hidden;
}
.dacptiles .detail{
  border-top:#f2f5f5 solid
  overflow-y:scroll;
}
.dacptiles .nav>li>a{
padding:10px 2px;
}
.dacptiles .nav>li>a:hover i{
   font-size:16px;
}

.small{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size:12px !important;
}
.fieldinfo small{
    float: left;
}

.fly_item {
    border: 1px solid #000;
    width: 38px;
    height: 38px;
    overflow: hidden;
    position: absolute;
    visibility: hidden;
    opacity: .5;
    filter: alpha(opacity=50);
    z-Index:9999;
}
#shopCart {
  position: absolute;
    bottom: 1px;
    right: 330px;
    font-size: 30px;
    width: 40px;
}
#shopCart:hover{
  font-size:26px;
}
.popover-content {
    padding: 0px 0px 9px 0px;
}
.panel-success>.panel-heading {
    color: #3c763d;
    background-color: #fff;
    border-color: #CCC;
}
.bg-light.lter, .bg-light .lter {
    background-color: #EBEBEB;
}
.bg-light {
    background-color: #e8eff0;
    /* color: #EBEBEB; */
}
.dacptiles.panel:hover{
  background-color:#EFF5FB; 
}
.panel-heading{
  padding: 10px 55px;
  text-align: left;
  padding-left: 28px;
}
.panel-success>.panel-heading {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #CCCCCC;
    margin-top: -4px;
}
.col-xs-4{
  margin-left: 2px; 
  
}
.col-xs-4:nth-child(1),.col-xs-4:nth-child(2){
  width:30%;
  background: #ebebeb;
}
.col-xs-4:nth-child(1):hover,.col-xs-4:nth-child(2):hover,.col-xs-4:nth-child(3):hover{
  background-color:#94B8DC;
  }
.col-xs-4:nth-child(3){
  background: #ebebeb;
  width:37%;
}
.thumbnail {
    display: block;
    padding: 0px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
}
.panel-heading .nav {
    margin: -8px -50px;
}
.repeater-thumbnail img {
    display: block;
    margin-top: 0px;
    margin-bottom: 3px;
}
.popup {
    z-index: 9999;
    border-bottom: #599900 2px solid;
    position: absolute;
    border-left: medium none;
    padding-bottom: 10px;
    background-color: #fcfcfc;
    min-height: 200px;
    max-height: 480px;
    padding-left: 30px;
    width: 740px;
    padding-right: 30px;
    display: none;
    
    border-top: medium none;
    top: 40px;
    border-right: #599900 2px solid;
    padding-top: 10px;
    overflow: scroll;
    left: 190px;
    box-shadow: 4px 4px 5px -1px #999999;
    -webkit-box-shadow: 4px 4px 5px -1px #999999;
    -moz-box-shadow: 4px 4px 5px -1px #999999;
}
.repeater-title .total{color:red;margin-left:5px;}
</style>
</head>
<script type="text/javascript">
var casetype=paramMap.casetype||'DEFAULT';
var dbname=paramMap.dbname;
var objtype=paramMap.objtype||'TAB';
var teamcode=paramMap.teamcode||'T0001';
var metaprj=paramMap.metaprj||'';

var baseSql="select dbname,cnname from metadb_list where 1=1 and dbname='"+dbname+"'";
if(!dbname) {
  baseSql = "select dbname, cnname from metadb_list where 1=1";
}
var baseStore = new AI.JsonStore({
    sql:baseSql,
    pageSize:-1,
    key:"DBNAME"
});

var cycleSql="select rowcode,rowname from metaedimdef where dimcode ='DIM_"+objtype+"_CYCLE'";
var cycleStore = new AI.JsonStore({
    sql:cycleSql,
    pageSize:-1,
    key:"ROWCODE"
});

var topicSql="select rulecode,rulename from metadb_struct WHERE DBNAME = '"+dbname+"'";
var topicStore = new AI.JsonStore({
    sql:topicSql,
    pageSize:-1,
    key:"RULECODE"
});

var typeSql = "select objtype, objname from metaobjmodel where 1=1";
var typeStore = new AI.JsonStore({
  sql: typeSql,
  pageSize: -1,
  key: "OBJTYPE"
});

$(document).ready(function() {
	var dataindex = new AI.Dataindex({
		objtype:objtype,
		casetype:casetype,
		containerId:'frame-main',
		filterParam:{objname:''},
    metaprj:metaprj
		//advanceFilter:'close'
	});
});
</script>
<body  style="height:100%">
  <div class="frame-main" id="frame-main" style="height:100%;padding:10px;"></div>
</body>
 


</html>